﻿using System;
using UnityEngine;

namespace SteeringBehaviors
{
	// Token: 0x02000214 RID: 532
	public class VectorKinematic : IKinematic
	{
		// Token: 0x06000B39 RID: 2873 RVA: 0x0005E927 File Offset: 0x0005CB27
		public VectorKinematic(Vector3 position)
		{
			this.virtualPosition = CenterOrigin.WorldToVirtual(position);
		}

		// Token: 0x06000B3A RID: 2874 RVA: 0x0005E93B File Offset: 0x0005CB3B
		protected override Vector3 GetPosition()
		{
			return CenterOrigin.VirtualToWorld(this.virtualPosition);
		}

		// Token: 0x06000B3B RID: 2875 RVA: 0x0005E948 File Offset: 0x0005CB48
		protected override void SetPosition(Vector3 position)
		{
			this.virtualPosition = CenterOrigin.WorldToVirtual(position);
		}

		// Token: 0x0400104F RID: 4175
		private Vector3 virtualPosition;
	}
}
